import { FormSource } from 'yly-form-source'
import { getAction, postAction } from '@/api/manage'
export default function({ app, $axios, stroe, redirect, error }, inject) {
  FormSource.initNetworkRequestMode({
    getAction: getAction,
    postAction: postAction,
    cancelToken: $axios.CancelToken,
    token: app.context.globalToken,
    api: app.$api
  })
}